package com.hww.lcnclient.controller;

import com.hww.lcnclient.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: Wenwu Huang
 * @Date: 2019/4/29 11:04
 */
@RestController
@RequestMapping
public class UserController {

    @Autowired
    private UserService userService;

    @GetMapping("get")
    public void get() {
        userService.save();
    }
}
